package com.shadow.baiqun.global;

import com.shadow.ui.recycler.MultipleItemEntity;

import java.util.List;

/**
 * @author zy
 * on 2018/7/8
 */
public class GlobalDataManager {
    private List<MultipleItemEntity> mLocationEntityList = null;
    private List<MultipleItemEntity> mPartEntityList = null;

    private static class SingletonHolder {

        private static GlobalDataManager instance = new GlobalDataManager();
    }

    private GlobalDataManager() {
    }

    public static GlobalDataManager getInstance() {
        return SingletonHolder.instance;
    }

    public List<MultipleItemEntity> getLocationEntityList() {
        return mLocationEntityList;
    }

    public void setLocationEntityList(List<MultipleItemEntity> locationEntityList) {
        mLocationEntityList = locationEntityList;
    }

    public List<MultipleItemEntity> getmPartEntityList() {
        return mPartEntityList;
    }

    public void setmPartEntityList(List<MultipleItemEntity> mPartEntityList) {
        this.mPartEntityList = mPartEntityList;
    }
}
